# encoding: utf-8
#sdk version: 2.2.1060.13-SNAPSHOT

from sdktest_module.utils.api_base_builder import ApiBaseBuilder, parameter

class InitAdminViewApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.initAdminView"

	@parameter(1,"android.support.v4.util.ArrayMap")
	def viewResId(self, viewResId):
		return self

class IsAdministorApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.isAdministor"

	@parameter(1,"long")
	def targetUid(self, targetUid):
		return self

	@parameter(2,"long")
	def topSid(self, topSid):
		return self

class IsChatDisableUserApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.isChatDisableUser"

	@parameter(1,"long")
	def targetUid(self, targetUid):
		return self

	@parameter(2,"long")
	def topSid(self, topSid):
		return self

	@parameter(3,"tv.athena.live.api.callback.QueryChatDisableUserCallback")
	def callback(self, callback):
		return self

class BlockUserSpeakerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.blockUserSpeaker"

	@parameter(1,"long")
	def targetUid(self, targetUid):
		return self

	@parameter(2,"boolean")
	def op(self, op):
		return self

	@parameter(3,"tv.athena.live.api.callback.Callback")
	def callback(self, callback):
		return self

class KickOutUserApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.kickOutUser"

	@parameter(1,"long")
	def targetUid(self, targetUid):
		return self

	@parameter(2,"int")
	def seconds(self, seconds):
		return self

	@parameter(3,"tv.athena.live.api.callback.Callback")
	def callback(self, callback):
		return self

class AddUserKickOutCallbackApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.addUserKickOutCallback"

	@parameter(1,"tv.athena.live.api.callback.IKickOutCallback")
	def callback(self, callback):
		return self

class RemoveUserKickOutCallbackApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.removeUserKickOutCallback"

class GetUserKickOutCallbackApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getUserKickOutCallback"

class EditChannelManagerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.editChannelManager"

	@parameter(1,"long")
	def sid(self, sid):
		return self

	@parameter(2,"long")
	def targetUid(self, targetUid):
		return self

	@parameter(3,"boolean")
	def op(self, op):
		return self

	@parameter(4,"int")
	def channelRole(self, channelRole):
		return self

	@parameter(5,"tv.athena.live.api.callback.Callback")
	def callback(self, callback):
		return self

class GetChannelRoleApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getChannelRole"

	@parameter(1,"long")
	def sid(self, sid):
		return self

	@parameter(2,"long")
	def uid(self, uid):
		return self

class TransferChannelManagerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.transferChannelManager"

	@parameter(1,"long")
	def sid(self, sid):
		return self

	@parameter(2,"long")
	def uid(self, uid):
		return self

class ObserveChannelManagerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.observeChannelManager"

class GetSelfChannelRoleApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getSelfChannelRole"

